﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AntMovement.Core.Model
{
    /// <summary>
    /// 系统状态
    /// </summary>
    public class SystemStatusModel : Prism.Mvvm.BindableBase
    {
        /// <summary>
        /// 手动
        /// </summary>
        public bool ManualOperation { get; set; }
        /// <summary>
        /// 自动
        /// </summary>
        public bool Auto { get; set; }
        /// <summary>
        /// 维修
        /// </summary>
        public bool Maintain { get; set; }
        /// <summary>
        /// 待料
        /// </summary>
        public bool WaitMaterials { get; set; }
        /// <summary>
        /// 待机
        /// </summary>
        public bool MachineStop { get; set; }
        /// <summary>
        /// 报警
        /// </summary>
        public bool AlarmStop { get; set; }

        private double _SweepCycle;
        /// <summary>
        /// 毫秒为单位
        /// </summary>
        public double SweepCycle
        {
            get { return _SweepCycle; }
            set { SetProperty(ref _SweepCycle, value); }
        }

    }
}
